
#include <stdio.h>
#include "appload.h"
#include "sysdef.h"
#include "os.h"

#if !CONFIG_CONSOLE
#error console is not configured
#endif

void helloworld(void *argv)
{
    UNUSED(argv);
    while(1)
    {
        printf("hello, world\r\n");
        OSTimeDlyHMSM(0, 0, 1, 0, OS_OPT_TIME_DLY, NULL);
    }
}

app_export(helloworld, NULL, "helloworld", 1024, 30, 1);
